<%@ page import="pe.com.mowa.siscobsms.bean.*" %>
<%@ page import="pe.com.mowa.siscobsms.datos.*" %>
<%@ page import="java.util.ArrayList" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>



<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body >
<table width="100%" border="1" style="margin-top: 12px">

  <tr bgcolor="#CCCCCC">
    <td width="101" ><strong>idtarifa</strong></td>
    <td width="97"><strong>monto</strong></td>
    <td width="80"><strong>fecha</strong></td>
  </tr>


<%
	int idprestamo  = Integer.parseInt(request.getParameter("idprestamo"));
conTarifa cpg = new conTarifa();
ArrayList pagos = cpg.getPagos(idprestamo);


tarifa objpago;

int asci = 34;

		for (int i =0; i <pagos.size(); i++) {
		objpago=(tarifa) pagos.get(i);
		out.print("<tr>");		
	    out.print("<td>"+objpago.getIdpago()+"</td>");
	    out.print("<td>"+objpago.getMonto()+"</td>");
	    out.print("<td>"+objpago.getFecha()+"</td>");
	    out.print("</tr>");
		}
%>

  
  
  
</table>
</body>
</html>